<h4>Daftar Produk ON_Store</h4>

<table class="table">
    <tr>
        <th>Merk</th>
        <th>Kategori</th>
        <th>Stok</th>
        <th>Harga</th>
        <th>Deskripsi</th>
        <th>Prev</th>
        <th></th>   
    </tr>   
    {foreach from=$pro item=s}
    <tr>
        <td>{$s.nama}</td>
        <td>{$s.kategori}</td>
        <td>{$s.stok}</td>
        <td>{$s.harga}</td>
        <td>{$s.deskripsi}</td>
        <td><img src="{$s.img}" width='200px'></td>
        <td>
            <a href="editpro.php?idproduk={$s.idproduk}" class="btn btn-small btn-success">Edit</a>
            <a href="daftarpro.php?a=del&idproduk={$s.idproduk}" class="btn btn-small btn-warning">Delete</a>
        </td>
    </tr>   
    {/foreach}
</table>